import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Action from '@/view/action/index'
import Action1 from '@/view/action/a'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
        path: '/action',
        name: 'Action',
        component: Action
    },
    {
        path: '/action1',
        name: 'Action1',
        component: Action1
    }
  ]
})
